#include <IndexOutOfBoundsException.hpp>

std::string Exceptions::IndexOutOfBoundsException::Description = "Exceptions.IndexOutOfBoundsException";

Exceptions::IndexOutOfBoundsException::IndexOutOfBoundsException() : Exceptions::RuntimeException()
{}

Exceptions::IndexOutOfBoundsException::IndexOutOfBoundsException(std::string message) : Exceptions::RuntimeException(message)
{}

Exceptions::IndexOutOfBoundsException::IndexOutOfBoundsException(std::string message, const Exceptions::Throwable& cause) : Exceptions::RuntimeException(message, cause)
{}

Exceptions::IndexOutOfBoundsException::IndexOutOfBoundsException(const Exceptions::Throwable& cause) : Exceptions::RuntimeException(cause)
{}

std::string Exceptions::IndexOutOfBoundsException::toString()
{
    return Exceptions::IndexOutOfBoundsException::Description;
}
